/*
 *  mini-SaaS
 *  Application for developing Software as a Service (SaaS) 
 *  Copyright (c) 2011 Anand Sudhakaran, Bryce Holton, Chao Zhang
 *  ASU
 *
 *  This file is part of mini-SaaS.
 *
 *  mini-SaaS is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  
 *  mini-SaaS is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.

 *  You should have received a copy of the GNU General Public License
 *  along with mini-SaaS; if not, see <http://www.gnu.org/licenses/>. 
 *
 */
 package loginbean;

public class FieldBean 
{
	private String name;
	private String dataType;
	private int fieldId;
        private DataBean[] datas;
	
	public FieldBean(){}
	
	public FieldBean(String name, String dataType, int fieldId, DataBean[] datas)
	{
		setName(name);
		setDataType(dataType);
		setFieldId(fieldId);
                setDatas(datas);
	}
	public String getName()
	{
		return this.name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getDataType()
	{
		return this.dataType;
	}
	public void setDataType(String dataType)
	{
		this.dataType = dataType;
	}
	public int getFieldId()
	{
		return this.fieldId;
	}
	public void setFieldId(int fieldId)
	{
		this.fieldId = fieldId;
	}
        public DataBean[] getDatas()
	{
		return this.datas;
	}
	public void setDatas(DataBean[] datas)
	{
		this.datas = datas;
	}
}
